package com.ruin.app.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/list")
public class IndexController {

    @RequestMapping(value = "/index")
    public String list() {
        return "list";
    }

    @RequestMapping(value = "/add")
    public String addIndex() {
        return "add";
    }
}
